<template>
  <div v-html="formContent"></div>
</template>

<script>
export default {
    data() {
        return {
            formContent: "",
        }
    },
    created() {
      this.$api.generatorOrder(this.$route.query.confId).then(ret=> {
        if (ret.status) {
          this.formContent = ret.data;
          // 在 vue 中打开 支付页面
          this.$nextTick(() => {
            document.forms[0].submit();
          })
        }
      });
    }
}
</script>